package com.admission.to;

import java.util.List;

import com.annotation.AnCollection;
import com.annotation.AnElement;

public class Year {

	@AnElement("name")
	private String name = "";
	@AnElement("provinces")
	@AnCollection(beanClass = Province.class, childElement = "province")
	private List<Province> provinces;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public List<Province> getProvinces() {
		return provinces;
	}

	public void setProvinces(List<Province> provinces) {
		this.provinces = provinces;
	}

}
